#! /bin/bash -e

docker login -u ${DOCKER_USER_ID?} -p ${DOCKER_PASSWORD?}

./gradlew publishEventuateArtifacts
./gradlew :eventuate-cdc-service:clean :eventuate-cdc-service:assemble
./gradlew publishEventuateDockerImages
